package com.yswy.domain.entity.user;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yswy.domain.common.BasePojo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * This is Description
 *
 * @author linlifu
 * @date 2020/01/07
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Api(tags = "角色")
@TableName(value = "sys_role")
public class Role extends BasePojo<Role> {

    private String roleName;

    private Integer roleType;

    @ApiModelProperty("冻结状态 true:冻结 false:不冻结")
    private Boolean freezingSatus;
    @ApiModelProperty("排序")
    private Integer orderBy;
    @ApiModelProperty("备注")
    private String remark;
}
